/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ddnsserver;

/**
 *
 * @author tktung
 */

public class DomainInfo {
    private String ForwardZone;
    private String ReverseZone;

    public DomainInfo() {
        ForwardZone = "";
        ReverseZone = "";
    }

    DomainInfo(String forwardZone, String reverseZone) {
        ForwardZone = forwardZone;
        ReverseZone = reverseZone;
    }

    public String getForwardZone() {
        return ForwardZone;
    }

    public String getReverseZone() {
        return ReverseZone;
    }

    public void setForwardZone(String forwardZone) {
        if(!forwardZone.isEmpty()) {
            ForwardZone = forwardZone;
        }
    }

    public void setReverseZone(String reverseZone) {
        if(!reverseZone.isEmpty()) {
            ReverseZone = reverseZone;
        }
    }
}
